//
//  AppsEngine.h
//  HaoJieGPS
//
//  Created by Vescky on 13-6-18.
//  Copyright (c) 2013年 GDPU_DEV. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MKNetworkKit.h"

typedef void (^JsonEngineBlock)(id jsonResponse);

@interface AppsEngine : MKNetworkEngine

+ (id)shareAppsEngine;

- (void)submitRequest:(NSString*)action param:(NSMutableDictionary*)paramsDic onCompletion:(JsonEngineBlock)completionBlock onError:(MKNKErrorBlock)errorBlock method:(NSString *)method ;

- (void)submitSimpleRequest:(NSString*)url onCompletion:(JsonEngineBlock)completionBlock onError:(MKNKErrorBlock)errorBlock method:(NSString *)method ;

@end
